<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
 
<html>
  <head>
   <link rel="stylesheet" href="<s:url value="/resources"/>/css/innerstyle.css" type="text/css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<s:url value="/resources"/>/css/cupertino/jquery-ui.custom.min.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<s:url value="/resources"/>/css/ui.jqgrid.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<s:url value="/resources"/>/css/ui.multiselect.css" />
    <script type="text/javascript" src="<s:url value="/resources"/>/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="<s:url value="/resources"/>/js/jquery-ui.custom.min.js"></script>  
    <script type="text/javascript" src="<s:url value="/resources"/>/js/i18n/grid.locale-cn.js"></script> 
    <script type="text/javascript" src="<s:url value="/resources"/>/js/jquery.jqGrid.min.js"></script>
    <script type="text/javascript" src="<s:url value="/resources"/>/js/i18n/jquery.ui.datepicker-zh-CN.js"></script>
	<style type="text/css">

#tab{
	width:99%;
	border:#F4F4F4 solid 4px;
	padding:0 2px 0 2px;
	margin:0;
	float:left;
}


#tab h1{
	display:block;
	width:95%;
	height:55px;	
	float:left;
	text-align: center;
	margin:0px;
}
#tab h1 span{
	width:95%;
	font:bold 26px/55px Arial, Helvetica, sans-serif;
	color:#327C8E;
	background-color:#fff;
	display:block;
}
#tab h2{
	display:block;
	width:10%;
	height:55px;	
	float:left;
	padding-top:0;
}
#tab h2 span{
	width:250px;
	font:bold 26px/55px Arial, Helvetica, sans-serif;
	color:#000;
	background-color:#fff;
	display:block;
}

#tab h3{
	display:block;
	width:10%;
	height:55px;	
	float:left;
	padding-top:0;
}
#tab h3 span{
	width:300px;
	font:bold 26px/55px Arial, Helvetica, sans-serif;
	color:#000;
	background-color:#fff;
	display:block;
}
#tab h4{
	display:block;
	width:95%;	
	float:left;
	text-align: center;
	margin:0px;
}

.content1
{
	margin:0px;	
	padding:0px;
	width:100%;	
	font-size:12px;	
}
.content1 td
{    
    height:16px;
	line-height:16px;
	text-align:left;
	border-top-style:none;
	border-left-style:none;
	border-right-style:none;
	border-bottom-style:none;
}
label{ display:block; }
fieldset { padding:0; border:0; margin-top:0; }
</style>
<style media=print type="text/css">   
.noprint{visibility:hidden}   
</style>
</head>

<SCRIPT type="text/javascript"> 
var hkey_root,hkey_path,hkey_key;
hkey_root="HKEY_CURRENT_USER";
//<!--地址的写法很严格的用双斜杠-->
hkey_path="\\Software\\Microsoft\\Internet Explorer\\PageSetup\\";
//设置网页打印的页眉页脚为空
function pagesetup_null(){
try{
$("#qrcode").show();
var RegWsh = new ActiveXObject("WScript.Shell");
hkey_key="header";
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"");
hkey_key="footer";
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"");

}catch(e){}
}


</SCRIPT>


<script language="JavaScript" type="text/javascript">
  
  


</script>
	

	
	

<body>
<OBJECT   id=WebBrowser   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   width=0> </OBJECT>
	
	<div id="tab">
	<!-- 	    
		<h3 class="noprint">
		<font size="2">待提报&nbsp;|&nbsp;待确认&nbsp;|&nbsp;卖方审批&nbsp;|&nbsp;买方审批&nbsp;|&nbsp;中心审批&nbsp;|&nbsp;已归档</font>
        <div id="slider" style="width:330px;margin:5px;"></div>
		</h3>
     -->
      
       
		<h1>挂 牌 报 单</h1>	
			
			<table id="list_search" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="120">出卖人（销方）:</td>
					<td width="30%"></td>
					<td width="120">煤炭用途:</td>
					<td width="20%">${bdxx.meitytmc}</td>
					<td width="150">交收方式:</td>
					<td >${bdxx.jiaosfsmc}</td>
				</tr>

				<tr>
					<td>买受人（购方）:</td>
					<td>${bdxx.baodrdwmc}</td>
					<td>价格类型:</td>
					<td>${bdxx.jiaglxmc}</td>
					<td>交收地点:</td>
					<td>${bdxx.jiaosdd}</td>
				</tr>

				<tr>
					<td>发货单位:</td>
					<td></td>
					<td>隶属行业:</td>
					<td>${bdxx.lismc}</td>
					<td>产地:</td>
					<td>${bdxx.yuancd}</td>
				</tr>
				
								<tr>
					<td>流向:
					</td>
					<td>${bdxx.liux}
					</td>
					<td>专用线:
					</td>
					<td>
						${bdxx.zhuanyx}
					</td>
					<td>最少交易方式:
					</td>
					<td><c:if test="${bdxx.zuixjyfs==1}">
					最少交易车数
					</c:if>
						 <c:if test="${bdxx.zuixjyfs==0}">
						 最少交易量
						 </c:if>
					</td>
				</tr>
				
				<tr>
				<c:if test="${bdxx.zuixjyfs==1}">
					<td id="zxjs">最少节数:
					</td>
					<td id="zxjs1">
						${bdxx.zuixjycj} 
					</td>
					</c:if>
					
					<td>
					<c:if test="${bdxx.zuixjyfs==0}">
						 最少交易量：
						 </c:if>
						<c:if test="${bdxx.zuixjyfs==1}">
					    每节吨数：
					</c:if>
					</td>
					<td id="mjds1">
					${bdxx.zuixjyl}
					</td>
				</tr>

				<tr>
					<td colspan="6" style="padding-top:5px;">一、收货人名称、品种规格、数量、单价</td>
				</tr>
				<tr>
					<td colspan="6" style="padding:1px;">
						<table id="changdi" align="center" cellpadding="0" cellspacing="0" border="1"
							class="content_gridview" >
							<thead>
								<tr>
									<th rowspan="3">收货人名称</th>
									<th rowspan="3">发站</th>
									<th rowspan="3">到站</th>
									<th rowspan="3">品种规格</th>
									<th rowspan="3">质量指标</th>
									<th rowspan="3">价格<br/>(元/吨)</th>
									<th colspan="13">交（提）货时间、煤量（吨）</th>

								</tr>
								<tr>
									<th rowspan="2">全年合计</th>
									<th colspan="3">一季度</th>
									<th colspan="3">二季度</th>
									<th colspan="3">三季度</th>
									<th colspan="3">四季度</th>
								</tr>
								<tr>
									<th>1</th>
									<th>2</th>
									<th>3</th>
									<th>4</th>
									<th>5</th>
									<th>6</th>
									<th>7</th>
									<th>8</th>
									<th>9</th>
									<th>10</th>
									<th>11</th>
									<th>12</th>
								</tr>
							</thead>
							<tbody>
							
									<tr>
										<td>${bdxx.shdwmc}</td>
										
										<td></td>
										<td>${bdxx.daoz}</td>
										<td>${bdxx.pinzgg}</td>
										<td>${bdxx.zhilzb}</td>
										<td>${bdxx.danj}</td>
										<td>${bdxx.shul}</td>
										<td>${bdxx.gml1}</td>
										<td>${bdxx.gml2}</td>
										<td>${bdxx.gml3}</td>
										<td>${bdxx.gml4}</td>
										<td>${bdxx.gml5}</td>
										<td>${bdxx.gml6}</td>
										<td>${bdxx.gml7}</td>
										<td>${bdxx.gml8}</td>
										<td>${bdxx.gml9}</td>
										<td>${bdxx.gml10}</td>
										<td>${bdxx.gml11}</td>
										<td>${bdxx.gml12}</td>
									</tr>
								
							</tbody>
						</table></td>
				<tr>
					<td>备注:</td>
					<td>${bdxx.beiz}
					</td>
					
				</tr>
				<tr style="line-height:26px;">
					<td colspan="6">
						<table id="djtk" cellpadding="0" cellspacing="0"  border rules=rows frame=below >
							<c:forEach var="tk" items="${mrhttk}">
								<tr>
									<td width="400px">${tk.xh}${tk.biaot}</td>
									<td><textarea cols="142" rows="2" class="textarea" name="neir">${tk.neir}</textarea>
									</td>
								</tr>
							</c:forEach>
						</table></td>
				</tr>
				<tr>
					<td colspan="6">
						<table cellpadding="0" cellspacing="0" style="width:100%" border="1"
							class="content_gridview">
							<thead>
								<tr>
									<th colspan="2" style="width:40%">出卖人</th>
									<th colspan="2"  style="width:40%">买受人</th>
									<th  style="width:20%">鉴（公）证单位：</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td style="width:20%"><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>出卖人名称(章)：</td>
											<td></td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td></td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td>
												</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td>
												</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td></td>
											</tr>
											<tr>
												<td>传真:</td>
												<td></td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td></td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td></td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td></td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td></td>
											</tr>

										</table>
										</td>
									<td style="width:20%"><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>出卖人结算单位名称(章)：</td>
											<td></td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td></td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td></td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td></td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td></td>
											</tr>
											<tr>
												<td>传真:</td>
												<td></td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td></td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td></td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td></td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td></td>
											</tr>
										</table>
									</td>
								  <td style="width:20%"><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>买受人名称(章)：</td>
													<td>${bdxx.baodrmc}</td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td>${bdxx.baodrzs}</td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td>${bdxx.baodrfddbr}
												</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td>${bdxx.baodrwtdlr}
												</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td>${bdxx.baodrdh}</td>
											</tr>
											<tr>
												<td>传真:</td>
												<td>${bdxx.baodrcz}</td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td>${bdxx.baodryzbm}</td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td>${bdxx.baodrkhyh}</td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td>${bdxx.baodryhzh}</td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td>${bdxx.baodrnsrdjzh}</td>
											</tr>

										</table>
										</td>
									<td style="width:20%"><table cellpadding="0" cellspacing="0" border="0"
											class="content1">
											<tr>
												<td>买受人结算单位名称(章)：</td>
												<td>${bdxx.baodjsrmc}</td>
											</tr>
											<tr>
												<td>住 所:</td>
												<td>${bdxx.baodjsrzs}</td>
											</tr>
											<tr>
												<td>法定代表人:</td>
												<td>${bdxx.baodjsrfddbr}</td>
											</tr>
											<tr>
												<td>委托代理人:</td>
												<td>${bdxx.baodjsrwtdlr}</td>
											</tr>
											<tr>
												<td>电 话:</td>
												<td>${bdxx.baodjsrdh}</td>
											</tr>
											<tr>
												<td>传真:</td>
												<td>${bdxx.baodjsrcz}</td>
											</tr>
											<tr>
												<td>邮政编码:</td>
												<td>${bdxx.baodjsryzbm}</td>
											</tr>
											<tr>
												<td>开户银行:</td>
												<td>${bdxx.baodjsrkhyh}</td>
											</tr>
											<tr>
												<td>帐号:</td>
												<td>${bdxx.baodjsryhzh}</td>
											</tr>
											<tr>
												<td>纳税人登记号:</td>
												<td>${bdxx.baodjsrnsrdjzh}</td>
											</tr>	

										</table>
										</td>
									<td rowspan="2">
									<div algin="left">经办人：</div> 
									<br/><br/><br/><br/>
									
									鉴（公）证机构（章）<br/>年 月  日
									</td>
								</tr>
							</tbody>
						</table></td>

				</tr>
				<tr>					
					<td colspan="6" align="right"><font size="2">有效期： 至 </font>					</td>
				</tr>

				<tr>
					<td colspan="6" align="center">						
					
						<input id="guanbi" class="noprint" type="button" name="" value="关闭" onclick="window.history.go(-1);window.close();" /> 										
					</td>
				</tr>

			</table>
		
	</div>	
</body>
</html>
